import { post } from "./request";

export const getTaskType = async () => {
    try {
        const res = await post('/dictionary/taskType');
        return res.data.map((item) =>item.columns);
    } catch (error) {
        console.log("error==", error)
        return null;
    }
 }